let gConfig={
 spbtdir : {
  //defaulturl下serversbmappress只在在vue-cli里好使。
  // 要注意，vue.config.js文件中proxy是配置在开发环境下的。只在vue-cli里好使，解决开发中跨域问题
  //在部署之后，要把前台的代码改回来。即在前台js中将连接服务器的ip配置为正确的ip
  yztFronturl: 'http://localhost:8083/gbzyzt/',//一张图前台ip，跳转到一张图用到的。
  ruoyiurl: 'http://localhost:8095/',//若依后台url
  mapserice:'http://192.168.3.128:8090/iserver/',//为了把超图接进来用到的
  ruoyiFronturl: "http://192.168.3.128:8094/gbzst/",//master-ui的前台，为了打开高保准农田建设项目的详细信息
   // 部署时候的真实ip
   // yztFronturl: 'http://localhost:8090/gbzyzt/',//一张图前台ip
   // ruoyiurl: 'http://localhost:8095/',//若依后台url
   // defaulturl: "http://localhost:8084/",//连接一张图后台
  // mapserice:'http://192.168.3.128:8090/iserver/',//为了把超图接进来用到的
  // ruoyiFronturl: "http://192.168.3.128:8090/gbzst/",//master-ui的前台，为了打开高保准农田建设项目的详细信息
   loginhref: '/shddghy/index',//部署的时候用真实login,开发也用这个
},
 spbturl : {
  portal: {
    login: {
      remoteLogin: 'portal/login/user.login',
      checkLogin: 'portal/login/check.login',
      remoteLogout: 'portal/login/user.logout'
    },
    upload: {
      uploadShpfile: 'portal/upload/upload.shpfile',
      writeShpfile: 'portal/upload/write.shpfile'
    },
    bookmarkManager: {
      queryBookmark: 'portal/bookmarkManager/query.bookmark',
      updateBookmark: 'portal/bookmarkManager/update.bookmark'
    },
    regionManager: {
      queryRegion: 'portal/regionManager/query.region',
      queryRegionByCode: 'portal/regionManager/query.regionByCode'
    },
    resourceManager: {
      queryResourceCatalog: 'portal/resourceManager/query.resource',
      queryMapSource: 'portal/resourceManager/query.mapSource',
      queryMapResourceByType: 'portal/resourceManager/query.mapResourceByType',
      queryMapRegion: 'portal/resourceManager/query.mapRegion',
      queryMapRegionCode: 'portal/resourceManager/query.mapRegionCode',
      queryCatalogQuery: 'portal/resourceManager/query.catalogsQuery',
      queryCatalogByIdQuery: "portal/resourceManager/query.catalogQuery",
      QueryXZQQuery: 'portal/resourceManager/query.xzqQuery', //查询行政区，为了前台查询分析时先确定区县范围。
      queryCatalogStatistics: 'portal/resourceManager/query.catalogStatistics',
      queryPOI: 'portal/resourceManager/query.placename',
      updateuserFavoritesLayer: 'portal/resourceManager/update.userFavoritesLayer',
      updateuserTempLayer: 'portal/resourceManager/update.userTempLayer'
    },
    statisManager: {
      queryStatistics: 'portal/statisManager/query.statistics',
      queryDLStatistics: 'portal/statisManager/query.statisDL'
    },
    userSetting: {
      queryFunctions: 'portal/userSetting/query.functions',
      queryUserPrj: 'portal/userSetting/query.userPrj',
      updateUserPrj: 'portal/userSetting/update.userPrj'
    }
  },
  manager: {
    common: {},
    login: {
      remoteLogin: 'manager/login/user.login',
      checkLogin: 'manager/login/check.login',
      remoteLogout: 'manager/login/user.logout'
    },
    userManager: {
      queryPortalRole: 'manager/userManager/query.portalRole',
      queryUser: 'manager/userManager/query.user',
      updateUser: 'manager/userManager/update.user',
      queryRole: 'manager/userManager/query.role',
      updateRole: 'manager/userManager/update.role'
    },
    businessManager: {},
    resourceManager: {
      receiveLegendImg: 'manager/resourceManager/receive.legendImg',
      queryResourceCatalog: 'manager/resourceManager/query.resourceCatalog',
      queryMapSource: 'manager/resourceManager/query.mapSource',
      queryRegion: 'manager/resourceManager/query.region',
      queryCatalogQuery: 'manager/resourceManager/query.catalogQuery',
      queryCatalogStatistics: 'manager/resourceManager/query.catalogStatistics',
      QueryXZQQuery: 'manager/resourceManager/query.xzqQuery', //查询行政区，为了前台查询分析时先确定农场范围。
      updateMapSource: 'manager/resourceManager/update.mapSource',
      updateResourceCatalog: 'manager/resourceManager/update.resourceCatalog',
      updateCatalogQuery: 'manager/resourceManager/update.catalogQuery',
      updateCatalogStatistics: 'manager/resourceManager/update.catalogStatistics',
      updateXZQQuery: 'manager/resourceManager/update.xzqQuery'//修改，查询行政区服务，为了前台查询分析时先确定农场范围。
    },
    systemConfig: {
      queryMapInfo: 'manager/systemConfig/query.mapInfo',
      queryPortalInfo: 'manager/systemConfig/query.portalInfo',
      querySysInfo: 'manager/systemConfig/query.sysInfo',
      querySysmenu: 'manager/systemConfig/query.sysMenu',
      queryDict: 'manager/systemConfig/query.dict'
    },
    systemConfiguration: {
      queryPortalInfo: 'manager/SystemConfiguration/query.portalInfo',
      updatePortalInfo: 'manager/SystemConfiguration/update.portalInfo',
      queryPortalNav: 'manager/SystemConfiguration/query.portalNav',
      updatePortalNav: 'manager/SystemConfiguration/update.portalNav'
    }
  },
  cropStructure: {
    queryCropStatistics: 'cropStructure/query.cropStatistics'
  },
  landIntegration: {
    queryLandStatistics: 'landIntegration/query.landStatistics'
  },
  blacksoilProtection: {
    queryBlacksoilStatistics: 'blacksoilProtection/query.blacksoilStatistics'
  }
}
}

